#include <stdio.h>
#include <time.h>
#include <stdlib.h>
int main()
{
	int mynum,yournum,count=1,flag=0;
    srand(time(0));
    mynum=rand()%100+1;
    while(count<=7)
    {
    	scanf("%d",&yournum);
    	count++;
    	if(yournum==mynum)
    	{printf("lucky you\n");
    	flag=1;
    	break;}
    	else if(yournum>mynum)
    	printf("too big\n");
    	else
    	printf("too small\n");
	}
	if(flag==0)
	{
		printf("game over");
	}
	return 0;
    
	
}
